home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / 2020HalfGateway / MailBuffer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  687 b   |  29 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        MailBuffer.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. #ifndef __MAILBUFFER__
  15. #define __MAILBUFFER__
  16.  
  17. #ifndef __BLJSTANDARDINCLUDES__
  18. #include "BLJStandardIncludes.h"
  19. #endif
  20.  
  21. MailBuffer    SetupMailBuffer ( void * bufferP, unsigned long bufferSize, unsigned long dataSize = 0);
  22.  
  23. MailBuffer    AllocateMailBuffer(long dataSize, void* where = nil, long dataSize = 0);
  24. MailBuffer    AllocateMailBuffer(Ptr where);    // gets bufferSize from GetPtrSize(where), dataSize = 0
  25.  
  26. void        DisposeMailBuffer(MailBuffer& buffer);
  27.  
  28. #endif
  29.